package com.cy.pj.sys.service;

import com.cy.pj.common.vo.Node;
import com.cy.pj.sys.entity.SysMenu;

import java.util.List;

/**
 * @author LiuXu
 * @create 2020-07-16 19:32
 */
public interface SysMenuService {
    List<SysMenu> findObjects();

    int deleteObject(Integer id);

    //查询菜单信息
    List<Node> findZtreeMenuNodes();

    //保存菜单对象
    int saveObject(SysMenu entity);

    //更新菜单对象
    int updateObject(SysMenu entity);
}
